<!DOCTYPE html>
<html lang="en">
<!---
https://cdn.bootcdn.net/ajax/libs/three.js/0.166.1/three.module.js
比如安装148版本
npm install three@0.148.0 save
-->
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="importmap">
        {
          "imports": {
            "three": "./js/threejs/three.module.js",
            "three/addons/": "./js/jsm/"
          }
        }
    </script>
</head>
<body>
<script type="module">
  import * as THREE from "./js/threejs/three.module.js";
  

  // 创建场景
  var scene = new THREE.Scene()
  console.log(scene)

  import { ThreeDim } from './js/draw/three.init.js';
  console.log(ThreeDim)
</script>
</body>
</html>
